package cn.tedu.charging.order.mqtt;

import cn.tedu.charging.order.dao.mapper.OrderFailMapper;
import cn.tedu.charging.order.dao.mapper.OrderSuccessMapper;
import cn.tedu.charging.order.dao.repository.ChargingProcessRepository;
import cn.tedu.charging.order.feign.CostClient;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Component
public class MqttContext {

    @Autowired
    OrderSuccessMapper orderSuccessMapper;

    @Autowired
    OrderFailMapper orderFailMapper;

    @Autowired
    private CostClient costClient;

//    @Autowired
//    private ChargingProcessRepository chargingProcessRepository;

}
